package com.zhouyu.nine;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


public class UserMulConstructorService {


	private OrderService orderService;


	public UserMulConstructorService(){
		System.out.println("无参构造方法");
	}


	public UserMulConstructorService(OrderService orderService) {
		this.orderService = orderService;
		System.out.println("1");
	}

	public UserMulConstructorService(OrderService orderService,OrderService orderService1) {
		this.orderService = orderService;
		System.out.println("2");
	}

	public UserMulConstructorService(OrderService orderService,
									 OrderService orderService1,
											 OrderService orderService2) {
		this.orderService = orderService;
		System.out.println("3");
	}

	public void test(){
		System.out.println(orderService);
	}
}
